#!/usr/bin/env python3

def test(name="kyo", age=18, sex='A', en=100, cn=100):
    print(name, age, sex, en, cn)

def sum(n1, n2, *nums, **kargs):
    print("n1 = %d, n2 = %d" % (n1, n2))
    print(type(nums), type(kargs))
    print("nums = ", nums, ", kargs = ", kargs)

test('tom', 18, en=66)

t = [11, 22, 1, "hello", 46.76, [1, 2, 3, 4]]
d = dict(name='kyo', age=12, sex='A')
#  sum(11, 22, 1, "hello", 46.76, [1, 2, 3, 4], name='kyo', age=12, sex='A')
sum(*t, **d)

